import type { RouteRecordRaw } from 'vue-router'

const route: RouteRecordRaw = {
  path: '/personal',
  name: 'Personal',
  redirect: '/personal/homepage',
  component: () => import('@/views/Personal/index.vue'),
  children: [
    {
      path: 'homepage',
      name: 'Homepage',
      component: () => import('@/views/Personal/Homepage/index.vue'),
    },
    {
      path: 'dynamic',
      name: 'Dynamic',
      component: () => import('@/views/Personal/Dynamic/index.vue'),
    },
    {
      path: 'videolist',
      name: 'VideoList',
      component: () => import('@/views/Personal/VideoList/index.vue'),
    },
    {
      path: 'collection',
      name: 'Collection',
      component: () => import('@/views/Personal/Collection/index.vue'),
    },
    {
      path: 'contribution',
      name: 'Contribution',
      component: () => import('@/views/Personal/Contribution/index.vue'),
      children: [],
    },
  ],
}
export default route
